<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft HTML Help Workshop 4.0">
<title>Running a compiled help file from the Web</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<body>

<h1>Running a compiled help file from the Web
</h1>

<P>You can add a link to a compiled help file to a page on a Web site. When a user clicks the link a dialog box will appear that gives them the option of saving the compiled help file to their hard disk or opening it from the directory where it's located.</P>

<h4>To open a compiled help file from a Web page or topic file</h4>
	<ol>
	<li><a href="htfile.htm">Create an HTML file.</a>
	<li>Use the following syntax to open the compiled help (.chm) file from your HTML file:
	<BR><BR>
	<code>&lt;A HREF=&quot;file name.chm&quot;&gt;Link text&lt;/a&gt;</code><BR><BR>
where <code>file name.chm</code> is the name of the compiled help file, and <code>Link text</code> is the text link.
	<li>Make sure that the compiled help file you want to link to is located in the same directory as the topic file you are linking from.  
	</li>
	</ol>
	
	<h3>Note</h3>

	<ul>
	<li>If the compiled help file you are linking to is in a different directory than the topic you are linking from, you will need to enter the path to the compiled help file. For example, if the help file is located in a directory on the Web, you would need to enter the full URL including the HTTP address, <code>&lt;A HREF=&quot;http://www.sample.com/example.chm&quot;&gt;</code>
	</li>
	</ul>

<table border="0" cellpadding="0" cellspacing="0">

<tr> <td valign="top"><a href="htlink2.htm"><img src="home.gif" alt="Home page link" border="0"></a>
</td><td><a href="htlink2.htm">About creating a link to another compiled help file</A>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</html>
